<h3>Action shop:search</h3>

<p class="description">The shop:search page is designed for creating the Product Search page. The action finds products in the database, according to a search query passed to the search page in the URL.</p>

<h4 class="separated">Variables</h4>
<ul>
	<li><strong>$no_query</strong> – a boolean-type variable. Its value is TRUE is the search query string is empty.</li>
	<li><strong>$query</strong> - a search query string passed to the search page through the page URL.</li>
	<li><strong>$records</strong> - a number of records per page to output on the search page. The default parameter value is 20.</li>
	<li><strong>$products</strong> - a list of found products. An object of the <a href="http://lemonstandapp.com/wiki/class_db_datacollection" target="_blank">Db_DataCollection</a> class. Each element in the collection is an object of the <a href="http://lemonstandapp.com/wiki/class_shop_product" target="_blank">Shop_Product</a> class.</li>
	<li><strong>$pagination</strong> - an object of the <a href="http://lemonstandapp.com/wiki/class_phpr_pagination" target="_blank">Phpr_Pagination</a> class which contains the pagination information.</li>
</ul>

<p class="description"><a href="http://lemonstandapp.com/wiki/shop_search/" target="_blank">Read more...</a></p>